package com.baturu.vin.benz.dto;

import lombok.*;
import lombok.experimental.FieldDefaults;

import java.io.Serializable;

/**
 * BenzSpringsDTO
 * 弹簧信息
 *
 * @author majianming
 * @date 2019-04-08 17:11
 */
@EqualsAndHashCode(callSuper = false)
@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
@Builder(toBuilder = true)
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class BenzSpringsDTO implements Serializable {
    SpringDesc frontSpringStrut;
    SpringDesc frontSpring;
    SpringDesc rearSpring;
    SpringDesc rearSpringSuppl;

    @Data
    @FieldDefaults(level = AccessLevel.PRIVATE)
    @Builder(toBuilder = true)
    @AllArgsConstructor
    @NoArgsConstructor
    @ToString
    public static class SpringDesc implements Serializable{
        String key;
        String desc;
        String value;
    }
}
